![]() ![]() ![]() |
Algo.partial_sum_copy( new InputStreamIterator(System.cin, new FuncTextReader(FuncBase.Double)), new InputStreamIterator(), new OutputStreamIterator(System.out,new FuncTextWriter(), "\n"));reads a file containing floating point numbers from
System.in
,
and prints the partial sums onto System.out
.
![]() ![]() ![]() |